package com.sleep.psy.external_server.business.main.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author wenliguo
 * @date 2025年08月12日 14:01
 */
@ApiModel("注册")
@Data
public class RegistReq {

    @ApiModelProperty(value = "用户名", required = true)
    @NotBlank(message = "用户名不能为空")
    private String accountId;

    @ApiModelProperty(value = "密码", required = true)
    @NotBlank(message = "密码不能为空")
    private String password;

    @ApiModelProperty(value = "医生id", required = true)
    @NotNull(message = "医生id不能为空")
    private Long doctorId;

    @ApiModelProperty(value = "方案id", required = true)
    @NotNull(message = "方案id不能为空")
    private Integer schemeId;

}
